<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="style.css" rel="stylesheet" type="text/css">
<link href="inside.css" rel="stylesheet" type="text/css">
<title>租屋回報</title>
<script type="text/JavaScript">
function check_form()
{
	if(document.form1.hou_num.value=='')
	{
		alert("請輸入房屋編號");
	    return (false);
	}    		
     if(document.form1.tel.value=="")
    {
        alert("請輸聯系電話");
        return (false);
    }   	
	
	 if(document.form1.addr.value=="")
    {
        alert("請輸入地址");
        return (false);
    } 
	if(document.form1.m.value==""||document.form1.d.value==""||document.form1.h.value==""||document.form1.i.value=="")
    {
        alert("請輸入完整的日期");
        return (false);
    }   
	
	if(document.form1.mess.value=="")
    {
        alert("請選擇你的職業");
        return (false);
    } 	
	  
}
</script>
</head>

<body>
<div id="container">

<!--header-->
<{include file="./header.html"}>   
<!--header-->

<!--menu-->
<{include file="./menu.html"}> 
<!--menu-->

<div class="main2">
  <div class="inside-left">
    <div id="left" style="padding-top:19px;">
      <div style="font-size:14px; font-weight:bold; color:#FF6600; padding-left:110px">房屋出租回報</div>
      <div style="margin-top:5px; text-align:left;"><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>

    <TD width="100%">
     <form method="post" action="reback.php" name="form1" style="border:0" onSubmit="return check_form()">
      <TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#bbbbbb 
        border=0><TBODY>
        <TR>
          <TD>
            <TABLE cellSpacing=0 cellPadding=8 width="100%" border=0>
              <TBODY>
             
              <TR bgColor=#ffffff>
                <TD width="24%" height="40" align="right" style="color:#1f7710">租屋編號：</TD>

                <TD class=RedFont width="76%"><INPUT name="hou_num" class="input4" id=T1 
                  size=25 maxLength=40></TD></TR>
              <TR bgColor=#ffffff>
                <TD height="40" align="right" style="color:#1f7710">聯絡電話：</TD>
                <TD class=RedFont><INPUT name=tel class="input4" id=T2 size=25 maxLength=26></TD></TR>
              <TR bgColor=#ffffff>
                <TD height="40" align="right" style="color:#1f7710">地址： </TD>
                <TD class=RedFont><INPUT 
              name="addr" class="input4" id=T3 size=40 maxLength=40></TD></TR>
              <TR bgColor=#ffffff>

                <TD height="40" align="right" style="color:#1f7710">日期：</TD>
                <TD><INPUT name=m class="input4" id=T6 size=4 maxLength=6> 
                月 <INPUT name=d class="input4" id=T7 size=4 
                  maxLength=6> 
                日 <INPUT 
                  name=h class="input4" id=T8 size=4 maxLength=6> 
                時 <INPUT name=i class="input4" id=T9 size=4 maxLength=6> 
                分</TD></TR>
              <TR bgColor=#ffffff>
                <TD height="40" align="right" style="color:#1f7710">選擇類別：</TD>

                <TD><label>
                  <select name="type">
                    <option value="房屋出租">房屋出租</option>
                    <option value="房屋頂讓">房屋頂讓</option>
                    <option value="房屋出售">房屋出售</option>
                                  </select>
                </label></TD></TR>

              <TR bgColor=#ffffff>
                <TD align="right" valign="top" style="color:#1f7710">留言：: </TD>
                <TD><textarea cols="40" rows="6" name="mess"></textarea></TD></TR>
              <TR bgColor=#ffffff>
                <TD height="40" class=GreenFont>&nbsp;</TD>
                <TD 
              class=RedFont><INPUT name=Submit type=submit class="INPUT3" value=確定送出>
              <input type="hidden" name="add" value="1"></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
      </FORM></TD>

    </TR></TBODY></TABLE>
      </div>
    </div>
  </div>
  <div class="inside-right">
  <!--right-->
    <{include file="./right.html"}> 
    <!--right-->
</div>
<!--foot-->
<{include file="./footer.html"}> 
<!--foot-->
</div>
</body>
</html>
